import 'package:flutter/cupertino.dart';
import 'package:thinking/config/_.dart';
import 'package:thinking/utils/_.dart';

class Line extends StatelessWidget{

  final Color color;
  final double height;
  final double? width;
  Line({this.color:ColorConfig.LineColor,this.height:8,this.width});

  @override
  Widget build(BuildContext context) {
        return  Container(
          width: width!=null?width:Screen.width(context),
          height: height,
          color: color,
        );
  }

}